package com.zhiyou100.model;

public class ResponseObject {

	private String msg;
	
	private int code;
	
	private Object obj;

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	public ResponseObject(int code, Object obj) {
		super();
		this.code = code;
		this.obj = obj;
	}

	public ResponseObject(String msg, int code, Object obj) {
		super();
		this.msg = msg;
		this.code = code;
		this.obj = obj;
	}

	public ResponseObject(int code) {
		super();
		this.code = code;
	}

	@Override
	public String toString() {
		return "ResponseObject [msg=" + msg + ", code=" + code + ", obj=" + obj + "]";
	}
	
	
}
